import { Empty } from "antd";
import { useState } from "react";

const Home = () => {

  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(count + 1);
  };
  return (
    <div>
      <span>{count}</span>
      <button onClick={handleClick}>点我+1</button>
      <Empty />
    </div>
  );
};

export default Home;